from django.db import models


# Create your models here.
class AppUpdate(models.Model):

    app_update_flag = models.CharField(max_length=10, blank=True)
    app_update_version = models.CharField(max_length=20, blank=True)
    app_update_intro = models.CharField(max_length=20, blank=True)
    app_update_detail = models.CharField(max_length=100, blank=True)
    app_update_url = models.CharField(max_length=50, blank=True)
    app_update_size = models.CharField(max_length=50, blank=True)
    release_time = models.DateTimeField(auto_now_add=True, blank=True)

    def __str__(self):
        return self.app_update_intro
